@import '../../../../sass/variables';
@import '../../../sprites/sprite_page_icons';

.infofiles{
    .passIcon{
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
        @include sprite($pass);
    }
    .unpassIcon{
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
        @include sprite($upload);
    }
    .uploadTb{
        margin-top: 20px;
        th{
            border-bottom: 1px solid $gray;
            line-height: 25px;
            font-size: 16px;
            color: $primary;
            padding: 10px;
            text-align: left;
        }
        td{
            line-height: 25px;
            padding: 10px;
            
        }
        .uploadItem{
            margin-bottom: 10px;
        }
        .uploadImg,button{
            vertical-align: middle;
        }
        .uploadImgBox,.uploadImg{
            vertical-align: middle;
            margin-right: 10px;
            display: inline-block;
            width: 108px;
            height: 108px;
        }
        .progress{
            position: absolute;
            top: 35px;
            height: 5px;
            line-height: 5px;
            font-size: 0;
            width: 100%;
            background: $gray_dark;
            overflow: hidden;
            left: 0;
            border-radius: 3px;
            i{
                position: absolute;
                left: 0;
                top: 0;
                width: 1%;
                border-radius: 3px;
                height: 5px;
                background: $success;
                transition: width .3s linear;
            }
        }
        .result{
            position: absolute;
            top: 45px;
            left: 0;
            height: 14px;
            line-height: 14px;
            font-size: 12px;
            width: 100%;
            text-align: center;
            color: $success;
            &.error{
                color: $danger;
            }
        }
        .upload-btn{
            input{
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                cursor: pointer;
                @include opacity(0);
            }
        }
    }
    .btnBox{
        margin-top: 20px;
        text-align: center;
    }
    .webuploader-container{
        position: relative;
        input{
            @include opacity(0);
        }
    }
}